//
//  MamberView.h
//  BukaLive
//
//  Created by 曹飞 on 2017/2/21.
//  Copyright © 2017年 曹飞. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BKPopShadowView.h"

#import "BKButton.h"
#import "BKUserSelectStatu.h"
#import "BKMemberTableViewCell.h"
typedef void(^MemberTableViewCellDidSelect)(BKUserSelectStatu * model);
typedef void(^MemberTableViewActionBlock)(NSInteger index,BKUserSelectStatu * model,BKMemberTableViewCell *cell);

typedef void(^MemberTableViewLoadMoreBlock)(void);

@interface BKMamberView : BKPopShadowView

@property (nonatomic,assign) BOOL showTeacherStyle; //是否显示老师需要的按钮默认是YES

//@property (nonatomic,strong) BKButton * cancelBtn;

@property (nonatomic,strong) NSArray * dataSource;
@property (nonatomic,assign) long num; //用户人数

@property (nonatomic,copy) MemberTableViewCellDidSelect didSelectBlock;
@property (nonatomic,copy) MemberTableViewActionBlock actionBlock;
@property (nonatomic,copy) MemberTableViewLoadMoreBlock loadMoreBlock;
@property (nonatomic,strong) UITableView * tableView;
@property (nonatomic,assign) BOOL isLoading;

-(instancetype)initWithFrame:(CGRect)frame;

-(void)setAllChatBan:(BOOL)allBan withAllMute:(BOOL)allMute;

@end
